import { PermissionDto } from "@/api/permission.ts";

export default [
  {
    id: "archive",
    name: "档案管理",
    shortName: "档案",
    enable: true,
    icon: "i-base:list",
    show: true,
    type: "MENU",
    code: "Archive",
    children: [
      {
        id: "employee",
        parentId: "archive",
        code: "Employee",
        component: "/src/views/archive/employee/employee.vue",
        enable: true,
        icon: "i-base:users",
        keepAlive: false,
        layout: "",
        method: null,
        name: "员工管理",
        shortName: "员工",
        back: false,
        weight: 20,
        path: "/archive/employee",
        redirect: null,
        show: true,
        type: "MENU",
      },
      {
        id: "department",
        parentId: "archive",
        code: "Department",
        component: "/src/views/archive/department/department.vue",
        enable: true,
        icon: "i-base:battery",
        keepAlive: false,
        layout: "",
        method: null,
        name: "部门管理",
        shortName: "部门",
        back: false,
        weight: 20,
        path: "/archive/department",
        redirect: null,
        show: true,
        type: "MENU",
      },
    ],
  },
] as PermissionDto[];
